package com.ruoyi.yipaiju.mapper;

import java.util.List;
import com.ruoyi.yipaiju.domain.DiscountHouseSigningorder;
import org.apache.ibatis.annotations.Param;

/**
 * fo_discount_house_signingorderMapper接口
 * 
 * @author liuwp
 * @date 2023-03-01
 */
public interface DiscountHouseSigningorderMapper 
{
    /**
     * 查询fo_discount_house_signingorder
     * 
     * @param id fo_discount_house_signingorder主键
     * @return fo_discount_house_signingorder
     */
    public DiscountHouseSigningorder selectDiscountHouseSigningorderById(Long id);

    /**
     * 查询fo_discount_house_signingorder列表
     * 
     * @param discountHouseSigningorder fo_discount_house_signingorder
     * @return fo_discount_house_signingorder集合
     */
    public List<DiscountHouseSigningorder> selectDiscountHouseSigningorderList(DiscountHouseSigningorder discountHouseSigningorder);
    public List<DiscountHouseSigningorder> selectDiscountHouseSigningorderList1(DiscountHouseSigningorder discountHouseSigningorder);

    /**
     * 可以业务主键查询一条fo_discount_house_signingorder
     *
     * @param discountHouseSigningorder fo_discount_house_signingorder
     * @return fo_discount_house_signingorder集合
     */
    public DiscountHouseSigningorder selectOneDiscountHouseSigningorder(DiscountHouseSigningorder discountHouseSigningorder);

    /**
     * 新增fo_discount_house_signingorder
     * 
     * @param discountHouseSigningorder fo_discount_house_signingorder
     * @return 结果
     */
    public int insertDiscountHouseSigningorder(DiscountHouseSigningorder discountHouseSigningorder);

    /**
     * 修改fo_discount_house_signingorder
     * 
     * @param discountHouseSigningorder fo_discount_house_signingorder
     * @return 结果
     */
    public int updateDiscountHouseSigningorder(DiscountHouseSigningorder discountHouseSigningorder);

    /**
     * 条件修改fo_discount_house_signingorder
     *
     * @param discountHouseSigningorder fo_discount_house_signingorder
     * @param discountHouseSigningorder fo_discount_house_signingorder条件
     * @return 结果
     */
    public int updateDiscountHouseSigningorderCondition(@Param("discountHouseSigningorder") DiscountHouseSigningorder discountHouseSigningorder, @Param("discountHouseSigningorderCondition") DiscountHouseSigningorder discountHouseSigningorderCondition);

    /**
     * 删除fo_discount_house_signingorder
     * 
     * @param id fo_discount_house_signingorder主键
     * @return 结果
     */
    public int deleteDiscountHouseSigningorderById(Long id);

    /**
     * 条件删除fo_discount_house_signingorder
     *
     * @param discountHouseSigningorder fo_discount_house_signingorder
     * @return 结果
     */
    public int deleteDiscountHouseSigningorderByCondition(DiscountHouseSigningorder discountHouseSigningorder);

    /**
     * 批量删除fo_discount_house_signingorder
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDiscountHouseSigningorderByIds(Long[] ids);
}
